Feat/passkeys darwin swiftpm support#235
Closed
Dopeamin wants to merge 3 commits into
Closed
Conversation
Contributor
kopy
added a commit
that referenced
this pull request
May 9, 2026
Adds Package.swift at the Flutter-conventional path so Flutter's plugin tooling discovers it (FlutterGeneratedPluginSwiftPackage now includes passkeys_darwin and the plugin is consumed via SwiftPM rather than falling back to CocoaPods). - Package.swift at darwin/passkeys_darwin/ (matches shared_preferences_foundation) - Swift sources moved to darwin/passkeys_darwin/Sources/passkeys_darwin/ - Podspec source_files path and deployment targets aligned with Package.swift (iOS 13.0, macOS 10.15); @available runtime gating unchanged - .gitignore for SwiftPM build artifacts Verified on iOS and macOS: passkeys_darwin appears in the generated SwiftPM graph and drops out of Podfile.lock. Closes #234. Closes #235.
kopy
added a commit
that referenced
this pull request
May 9, 2026
Adds Package.swift at the Flutter-conventional path so Flutter's plugin tooling discovers it (FlutterGeneratedPluginSwiftPackage now includes passkeys_darwin and the plugin is consumed via SwiftPM rather than falling back to CocoaPods). - Package.swift at darwin/passkeys_darwin/ (matches shared_preferences_foundation) - Swift sources moved to darwin/passkeys_darwin/Sources/passkeys_darwin/ - Podspec source_files path and deployment targets aligned with Package.swift (iOS 13.0, macOS 10.15); @available runtime gating unchanged - .gitignore for SwiftPM build artifacts - CLAUDE.md note documenting dual-build (SwiftPM + CocoaPods) convention Verified on iOS and macOS in both modes: with SwiftPM enabled, passkeys_darwin appears in the generated SwiftPM graph and drops out of Podfile.lock; with SwiftPM disabled, the updated podspec source_files path resolves and pod install pulls the plugin as before. Closes #234. Closes #235.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds Swift Package Manager (SwiftPM) support for the Apple federated implementation of
passkeys, while preserving existing CocoaPods compatibility.Flutter is migrating plugin integration toward SwiftPM, and this change prepares the plugin for that transition.
Changes
packages/passkeys/passkeys_darwinPackage.swiftto enable SwiftPM integration for iOS/macOS.0.3.0→0.4.00.4.0entry for SwiftPM support.packages/passkeys/passkeyspasskeys_darwin: ^0.4.02.19.0entry noting darwin dependency bump for SwiftPM support.Notes